- name: Brew install
if: matrix.GENERATOR == 'Ninja'
run: |
- # homebrew fails to update python from 3.9 to 3.10 due
- # to another unlinking failure. See hack at brew upgrade
- rm -f /usr/local/bin/2to3 /usr/local/bin/idle3 \
- /usr/local/bin/idle3 /usr/local/bin/pydoc3 \
- /usr/local/bin/python3 /usr/local/bin/python3-config
- brew update
- # From https://github.com/actions/runner-images/issues/6817#issuecomment-1363382175
- # a topic that's flaming right now, though this is a recurring
- # problem as described in
- # https://github.com/actions/runner-images/issues/4020
- brew upgrade || true
+ # update/upgrade is causing issues
+ # https://github.com/orgs/Homebrew/discussions/3895
+ # https://github.com/actions/setup-python/issues/577
+ # https://github.com/actions/runner-images/issues/6459
+ # https://github.com/actions/runner-images/issues/6507
+ # https://github.com/actions/runner-images/issues/2322
+ # brew update # skip update for now to avoid link issues AND many slow dependency upGRADES.
brew install ninja
brew install docbook docbook-xsl fop gnu-sed
brew install jing-trang